package com.hx.study.votes.domain;

import com.hx.common.annotation.Excel;
import com.hx.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 el_votes
 * 
 * @author ${author}
 * @date 2023-05-31
 */
public class ElVotes extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer votesId;

    /** 一组投票的标题 */
    @Excel(name = "一组投票的标题")
    private String title;

    /** 一组投票的内容 */
    @Excel(name = "一组投票的内容")
    private String content;

    public void setVotesId(Integer votesId) 
    {
        this.votesId = votesId;
    }

    public Integer getVotesId() 
    {
        return votesId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("votesId", getVotesId())
            .append("title", getTitle())
            .append("content", getContent())
            .toString();
    }
}
